FROM alpine

RUN addgroup -g 1000 -S multiverse \
    && adduser multiverse -u 1000 -D -S -s /bin/bash -G multiverse \
    && mkdir -p /data \
    && chown -R multiverse:multiverse /data

USER 1000

COPY bin /data/app/

WORKDIR /data/app
CMD ["./dxc-server"]